Don't assume that gdk_surface[_move]_resize() is asynchronous
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 28 May 2019 16:14:39 +0000 (16:14 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:17 +0000 (20:25 +0000)
commit90058ed951e7dd44ee2b5b2d6108bd043caaf2a2
tree0c6a43f6d8e5797897f281da9d80de1ada0731f6
parent82c80c06e8d7ea3d7b35755ec60afc8c249c9239
Don't assume that gdk_surface[_move]_resize() is asynchronous

On Windows that call resizes the native window immediately,
and the corresponding GDK event is emitted and processed
before the control is returned to gtk_window_move_resize().
Therefore, update freeze and configure_request_count increment
must happen before the call, not after it.
gtk/gtkwindow.c